package com.example.demo.data.dao;

import com.example.demo.data.entity.UserDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao extends JpaRepository<UserDO, Long> {

    UserDO findByIdentity(String identity);
}
